package com.hw1102.Test4;

public class Emp {
    private String name;
    private double sal;
    private double saving;
    public Emp(){

    }
    public Emp(String name, double sal, double saving){
        this.name = name;
        this.sal = sal;
        this.saving = saving;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getSal() {
        return sal;
    }

    public void setSal(double sal) {
        this.sal = sal;
    }

    public double getSaving() {
        return saving;
    }

    public void setSaving(double saving) {
        this.saving = saving;
    }
}
